core: Use openat() for reading bare file objects too
authorColin Walters <walters@verbum.org>
Sun, 8 Sep 2013 23:31:44 +0000 (19:31 -0400)
committerColin Walters <walters@verbum.org>
Sun, 8 Sep 2013 23:31:44 +0000 (19:31 -0400)
commit3ff4b1874c738746f6c4d81a46f4b8e4d63d0bca
treeadc3575eb54a594d327df738463e79d26db5f3fc
parenta071a3ec3ac2d02db639e19fa384c28822928652
core: Use openat() for reading bare file objects too

...unless we want xattrs, in which case we have to fallback to path
lookup due to lack of llistxattrat().

This looks nicer in strace.
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c